package org.ytor.core.sqlflow.dsl.token;

/**
 * created by yangtong on 2025/8/6 19:21:16
 * <br/>
 * TOKEN类型
 */
public enum TokenType {
    IDENT,      // 变量名、函数名
    STRING,     // 字符串：'abc' or "abc"
    NUMBER,     // 数值：123, 3.14
    LPAREN,     // 左括号：(
    RPAREN,     // 右括号：)
    COMMA,      // 逗号：,

    // 二元操作符：==, !=, <, <=, >, >=等
    IS, IS_NOT, NOT_IS, IN, NOT_IN, LIKE, NOT_LIKE, BETWEEN, NOT_BETWEEN,
    EQ, NE, LT, LE, GT, GE,  //

    KEYWORD,    // 关键字：null, empty, true, false

    AND, OR,    // 逻辑操作符
    EOF         // 结束标记
}
